package com.system.honour.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Description:    页面跳转
 * @Author:         Joe
 * @CreateDate:     2020/4/4 15:33
 */
public class SecurityController {

	/**
	 * 跳转到登录页面
	 * @return
	 */
	@RequestMapping(value = "/login.html",method = RequestMethod.GET)
	public String login(){
		return "login";
	}

	/**
	 * 跳转到403页面
	 * @return
	 */
	@RequestMapping(value = "/403.html",method = RequestMethod.GET)
	public String noPermission(){
		return "403";
	}
}
